<?php

class ObjectElement {
    var $value;
    var $type;
    var $id;

    function  __construct($value, $type,$id) {
        $this->value = $value;
        $this->type = $type;
        $this->id = $id;
    }

    function getValue() {
        return $this->value;
    }
    function getType() {
        return $this->type;
    }
    function getID() {
        return $this->id;
    }


}

class ObjectStruct {
    var $value;
    var $type;
    var $parentName;
    var $brotherName;

    function  __construct($value, $type,$parentName,$brotherName) {
        $this->value = $value;
        $this->type = $type;
        $this->parentName = $parentName;
        $this->brotherName = $brotherName;
    }

    function getParentName() {
        return $this->parentName;
    }

    function getBrotherName() {
        return $this->brotherName;
    }

    function getValue() {
        return $this->value;
    }
    function getType() {
        return $this->type;
    }
}

class ObjectData {
    var $path_structure;
    var $value;

    function  __construct($path_structure, $value) {
        $this->path_structure = $path_structure;
        $this->value = $value;
    }

    function getPathStructure() {
        return $this->path_structure;
    }

    function getValue() {
        return $this->value;
    }

}

?>